<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                template="/templates/ui.xhtml">

    <ui:define name="head">
        <style type="text/css">
            .col-label {
                width: 80px;
            }

            .col-label2 {
                padding-left: 100px;
                width: 80px;
            }

            .col-input {
                width: 120px;
            }

            .col-input-200 {
                width: 300px;
            }

        </style>

    </ui:define>

    <ui:define name="content">
        <div style="margin:5px 15px 5px 15px">
            <p:growl id="msgs" showDetail="false"/>
            <h:form id="form">
                <h:panelGrid id="detailPanel1" columns="1" cellpadding="3">
                    <h:panelGrid columns="2" cellpadding="5"
                                 columnClasses="col-label,col-input,col-label2,col-input">
                        <h:outputLabel value="金额:"/>
                        <p:inputText value="#{payVchConfirmAction.amt}" size="40" disabled="true"/>
                        <h:outputLabel value="用途:"/>
                        <p:inputText value="#{payVchConfirmAction.remark}" size="40" disabled="true"/>
                        <h:outputLabel value="流水号:"/>
                        <p:inputText value="#{payVchConfirmAction.sn}" size="40" disabled="true"/>
                    </h:panelGrid>
                </h:panelGrid>

                <p:separator style="margin-top:15px;"/>

                <h:panelGrid columns="2" style="float: right">
                    <h:commandButton id="qrybtn" style="width:80px;margin-left:5px" value="提交"
                                     action="#{payVchConfirmAction.onSave}"
                                     update="pdt,msgs">
                    </h:commandButton>
                    <h:commandButton ajax="false" id="btnprt" value="关闭"
                                     action="#{payVchConfirmAction.onClose}"
                                     style="width:80px;"/>
                </h:panelGrid>
            </h:form>
        </div>
    </ui:define>

</ui:composition>